package site.huoqiang.emos.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import site.huoqiang.emos.mapper.PermissionMapper;
import site.huoqiang.emos.service.PermissionService;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author: huoqiang huoqiang
 * @date: 2022-01-15
 */
@Service
@Slf4j
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public ArrayList<HashMap> searchAllPermission() {
        return permissionMapper.searchAllPermission();
    }
}
